package com.acme.bankapp.domain.exception;

public class NotEnoughFundsException extends BankException{
	double amount;
	
	public NotEnoughFundsException() {
		super();
	}

	public NotEnoughFundsException(String message, Throwable cause) {
		super(message, cause);
	}
	
	public NotEnoughFundsException(String message){
		super(message);
	}
	
	public NotEnoughFundsException(String message, double amount){
		super(message);
		this.amount = amount;
	}

	public NotEnoughFundsException(Throwable cause) {
		super(cause);
	}

	public double getAmount() {
		return amount;
	}
	
}
